#ifndef ROBOT_HPP
#define ROBOT_HPP
#include "../Tools/GLHeaders.hpp"
#include <cmath>
#include "../Tools/Bone.hpp"
#include "../Tools/Model.hpp"
#include "../Tools/Chrono.hpp"

class Robot{
  private :
    int step;
		GLfloat speed;
    Chrono* time;

    Bone* b_head;
    Bone* b_neck;
    Bone* b_trunk;
    Bone* b_pelvis;
    Bone* b_leftArm;
    Bone* b_rightArm;
    Bone* b_leftForearm;
    Bone* b_rightForearm;
    Bone* b_leftHand;
    Bone* b_rightHand;
    Bone* b_leftThigh;
    Bone* b_rightThigh;
    Bone* b_leftLeg;
    Bone* b_rightLeg;
    Bone* b_leftFoot;
    Bone* b_rightFoot;

    Model* m_head;
    Model* m_neck;
    Model* m_trunk;
    Model* m_pelvis;
    Model* m_leftArm;
    Model* m_rightArm;
    Model* m_leftForearm;
    Model* m_rightForearm;
    Model* m_leftHand;
    Model* m_rightHand;
    Model* m_leftThigh;
    Model* m_rightThigh;
    Model* m_leftLeg;
    Model* m_rightLeg;
    Model* m_leftFoot;
    Model* m_rightFoot;

 	  bool activate;
 	public :
    Robot(void);
    ~Robot(void);

    void Draw(void);
    void Pause(void);
    void Continue(void);
    void Activate(void);
    void Desactivate(void);
};

#endif
